package com.akuma.redmine.entity;

import com.akuma.common.util.JsonUtils;

/**
 * Created by akuma on 2016/10/11.
 *
 * @author akuma
 */
public class Parent {
    private Long id;
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        if (this == null) {
            return "null";
        }
        return JsonUtils.toJSon(this);
    }
}
